import pandas as pd

data_info = pd.read_csv('../../Dataset/trainval.csv')
labels = sorted(list(set(data_info['label'])))
nc = len(labels)
class_to_num = dict(zip(labels, range(nc)))
num_to_class = {v : k for k, v in class_to_num.items()}
print(num_to_class)